package com.hzhk.happyrent.bean.rent;

import java.util.List;

/**
 * User: hzhk(1097282555@qq.com)
 * Date: 2017/11/24
 * Time: 09:52
 * progject: HappyRent
 * Describe： ${Describe}
 */
public class RentTopModel {


    /**
     * errCode : 0
     * message : success
     * data : {"goods":[{"id":"65","goods_code":"SD151174952565-1","goods_name":"iphone X","sort_id":"96","brand_id":"12","goods_cover_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171127/151177296564466.png","sort_tit":"手机","price":"4888.00","goods_cost_price":"5388.00"},{"id":"64","goods_code":"SD151169816678-1","goods_name":"iphone8X","sort_id":"98","brand_id":"12","goods_cover_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171127/151177374061815.png","sort_tit":"电脑","price":"1000.00","goods_cost_price":"2000.00"},{"id":"63","goods_code":"SD151169809943-1","goods_name":"iphone8全新国行","sort_id":"96","brand_id":"12","goods_cover_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171127/151177375858721.png","sort_tit":"手机","price":"1000.00","goods_cost_price":"2000.00"}]}
     * time : 1511776455
     */

    private int errCode;
    private String message;
    private DataBean data;
    private int time;

    public int getErrCode() {
        return errCode;
    }

    public void setErrCode(int errCode) {
        this.errCode = errCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class DataBean {
        private List<GoodsBean> goods;

        public List<GoodsBean> getGoods() {
            return goods;
        }

        public void setGoods(List<GoodsBean> goods) {
            this.goods = goods;
        }

        public static class GoodsBean {
            /**
             * id : 65
             * goods_code : SD151174952565-1
             * goods_name : iphone X
             * sort_id : 96
             * brand_id : 12
             * goods_cover_image : http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171127/151177296564466.png
             * sort_tit : 手机
             * price : 4888.00
             * goods_cost_price : 5388.00
             */

            private String id;
            private String goods_code;
            private String goods_name;
            private String sort_id;
            private String brand_id;
            private String goods_image;
            private String goods_cover_image;
            private String sort_tit;
            private String price;
            private String goods_cost_price;
            private String goods_type;
            private String lease;

            public String getGoods_type() {
                return goods_type;
            }

            public void setGoods_type(String goods_type) {
                this.goods_type = goods_type;
            }

            public String getLease() {
                return lease;
            }

            public void setLease(String lease) {
                this.lease = lease;
            }

            public String getGoods_image() {
                return goods_image;
            }

            public void setGoods_image(String goods_image) {
                this.goods_image = goods_image;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getGoods_code() {
                return goods_code;
            }

            public void setGoods_code(String goods_code) {
                this.goods_code = goods_code;
            }

            public String getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public String getSort_id() {
                return sort_id;
            }

            public void setSort_id(String sort_id) {
                this.sort_id = sort_id;
            }

            public String getBrand_id() {
                return brand_id;
            }

            public void setBrand_id(String brand_id) {
                this.brand_id = brand_id;
            }

            public String getGoods_cover_image() {
                return goods_cover_image;
            }

            public void setGoods_cover_image(String goods_cover_image) {
                this.goods_cover_image = goods_cover_image;
            }

            public String getSort_tit() {
                return sort_tit;
            }

            public void setSort_tit(String sort_tit) {
                this.sort_tit = sort_tit;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getGoods_cost_price() {
                return goods_cost_price;
            }

            public void setGoods_cost_price(String goods_cost_price) {
                this.goods_cost_price = goods_cost_price;
            }
        }
    }
}
